package hk.polyu;


/**
 * This class works as return value for a query.
 * @author hezongjian
 */
public class QueryResult extends BasicDocumentInfo{
	
	/**
	 * The weight for the query.
	 */
	public 	double mWeight;
	
	public QueryResult(BasicDocumentInfo i, double weight) {
		this.mID = i.mID;
		this.mLength = i.mLength;
		this.mName = i.mName;
		this.mPath = i.mPath;
		this.mWeight = weight;
	}

	public QueryResult() {
	}

}
